package fr.unice.polytech.chord.samples.commands;

import fr.unice.polytech.chord.samples.managers.Manager;

/**
 * @author Laurent Pellegrino
 * 
 * @version 10/30/2009
 */
public class QuitCommand extends Command {

	/**
	 * Constructor.
	 * 
	 * @param manager
	 *            the manager that will execute this command.
	 */
	public QuitCommand(Manager manager) {
		super(manager, "Quit the application", new String[] { "quit" }, null);
	}

	/**
	 * {@inheritDoc}
	 */
	public void execute(String... args) {
		System.exit(0);
	}
}
